﻿@model KeyCore.Loans.Client.Web.Models.LoansClient.LoansClientCreateModel

@{
    ViewBag.Title = "CreateLoansClient";
    Layout = "~/Views/Shared/_LayoutMaster.cshtml";
}

<h2>CreateLoansClient</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>LoansClientCreate</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.OsobaImie)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.OsobaImie)
            @Html.ValidationMessageFor(model => model.OsobaImie)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.OsobaDrugieImie)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.OsobaDrugieImie)
            @Html.ValidationMessageFor(model => model.OsobaDrugieImie)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.OsobaNazwisko)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.OsobaNazwisko)
            @Html.ValidationMessageFor(model => model.OsobaNazwisko)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.OsobaNazwiskoPanienskie)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.OsobaNazwiskoPanienskie)
            @Html.ValidationMessageFor(model => model.OsobaNazwiskoPanienskie)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@*@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}*@
